package quote

class Person {

    String name

    String surname

    int age

    static constraints = {
        name matches: /[A-Za-z]+/
        surname matches: /[A-Za-z]+/
        age range: 18..150
    }

    static hasOne = [address: Address]

}